package com.qianfeng.wuyang.himalaya.fragment;


import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.Toast;

import com.qianfeng.wuyang.himalaya.R;

/**
 * A simple {@link Fragment} subclass.
 */
public class RbListenerRecommFragment extends Fragment {
    private Button button;


    public RbListenerRecommFragment() {
        // Required empty public constructor
    }


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        // Inflate the layout for this fragment
        View view= inflater.inflate(R.layout.fragment_rb_listener_recomm, container, false);
         button= (Button) view.findViewById(R.id.button3);
        button.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Toast.makeText(getContext(), "内容正在加载中，稍后为你献上精彩内容，", Toast.LENGTH_SHORT).show();
            }
        });
        return view;
    }

}
